<?php

namespace app\admin\model;

use think\Model;

class Goods extends Model
{
    //初始化
    protected $table = 'details';

    public function oldData($de_id){

        $data = db('details')->where('de_id',$de_id)->select();
        return $data;
    }
}
